import { TableColumnCtx } from "element-plus"

type UseDataViewOptions<P, T> = {
  form: P | (() => P | Promise<P>),
  columns: TableColumnCtx<T>[]
}

export const useDataView = <P, T>(options: UseDataViewOptions<P, T>) => {
  return {
    data: [],
    form: {},
    columns: []
  }
}
